<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>Test</title>
  <script type="text/javascript" src="example.js">
  </script>
</head>
<body>
  <script type="text/javascript">
    insertParagraph("This is inserted.");
  </script>
</body>
</html>